From: Richard M. Stallman Date: Thu, 26 Sep 2002 22:04:14 +0000 (+0000) Subject: (__restrict_arr): Don't define if already defined. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~23^2~48559 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=27847466a370ea6102ea3a358d04d38918e9bf27;p=emacs.git (__restrict_arr): Don't define if already defined. --- diff --git a/src/regex.h b/src/regex.h index ef4284cdce2..f3c1c875a75 100644 --- a/src/regex.h +++ b/src/regex.h @@ -538,7 +538,9 @@ extern int re_exec _RE_ARGS ((const char *)); /* For now unconditionally define __restrict_arr to expand to nothing. Ideally we would have a test for the compiler which allows defining it to restrict. */ +#ifndef __restrict_arr #define __restrict_arr +#endif /* POSIX compatibility. */ extern int regcomp _RE_ARGS ((regex_t *__restrict __preg,